{extend name="_public/main" /}
{block name="seo"}
<title>搜索 {:input('keyword')} 相关的文章 - {:get_site_config('site_name')}</title>
{/block}

{block name="site-title"}
<div class="category-title">
    <div class="container">搜索 {:input('keyword')} 相关的文章</div>
</div>
{/block}

{block name="main-area"}
<section class="index-main">
    <div class="container">
        <div class="row">
            <div class="col-md-8">
                {volist name="list" id="vo"}
                <article class="article-list">
                    <h1 class="search-title"><a href="{:url('blog/article/index',['id'=>$vo.id])}" title="{$vo.title|strip_tags}">{$vo.title|raw}</a></h1>

                    <div class="search-res">
                        {$vo.content|raw}
                    </div>
                    <div class="article-info">
                        <span>{$vo.create_time|date='Y-m-d H:i'}</span>
                        <span><a href="{:url('blog/article/index',['id'=>$vo.id])}">全文链接</a></span>
                    </div>
                </article>
                {/volist}

                {notempty name="pager"}{$pager|raw}{/notempty}

            </div>
            <div class="col-md-4">
                {:widget('blog/tags_cloud')}
                {:widget('blog/latest_reply')}
            </div>
        </div>
    </div>
</section>
{/block}